package com.qfedu.edu.exception.handler;

import lombok.Data;

/**
 * 业务异常类
 */
@Data
public class BusinessException extends RuntimeException {
    private Integer code;// 业务异常代码
    private String message; // 业务异常信息

    public BusinessException(Integer code, String message) {
        this.code = code;
        this.message = message;
    }
}
